<%--
  Created by IntelliJ IDEA.
  User: 铃
  Date: 2024/9/22
  Time: 19:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<script>
    var xhr=new XMLHttpRequest();
    xhr.open("GET","lujing",true);
    xhr.onload=function (){
        if (xhr.status==200){
            var response=xhr.responseText;
        }else {
            console.log('Error:'+xhr.responseText)
        }
    };
    xhr.send();
</script>
</body>
</html>
